using System;
using System.Drawing;
using System.Collections.Generic;
using System.Text;

namespace Dll.Essences
{
   public class Goods
    {
       int id;
       int morion;
       int goodsGroupID;
       int producerID;
       string name;
       string nameReg;
       string form;
       string formReg;
       string number;
       int ndsTypeID;
       bool prescriber;
       Bitmap image;
       bool order_333;
       bool isNonUse;
       string regIssue;
       string barCode;
       DateTime regStart;
       DateTime regClose;
       DateTime date;
       int userID;

       public DateTime RegClose
       {
           get
           {
               return regClose;
           }
           set
           {
               regClose = value;
           }
       }

       public DateTime RegStart
       {
           get
           {
               return regStart;
           }
           set
           {
               regStart = value;
           }
       }

       public string RegIssue
       {
           get
           {
               return regIssue;
           }
           set
           {
               regIssue = value;
           }
       }

       public string BarCode
       {
           get
           {
               return barCode;
           }
           set
           {
               barCode = value;
           }
       }

       public bool IsNonUse
       {
           get
           {
               return isNonUse;
           }
           set
           {
               isNonUse = value;
           }
       }       
       
       public bool Order_333
       {
           get
           {
               return order_333;
           }
           set
           {
               order_333 = value;
           }
       }

       public bool Prescriber
       {
           get
           {
               return prescriber;
           }
           set
           {
               prescriber = value;
           }
       }

       public int NdsTypeID
       {
           get
           {
               return ndsTypeID;
           }
           set
           {
               ndsTypeID = value;
           }
       }
       
       public string Number
       {
           get
           {
               return number;
           }
           set
           {
               number = value;
           }
       }

       public int Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }
       
       public int Morion
       {
           get
           {
               return morion;
           }
           set
           {
               morion = value;
           }
       }

       public int GoodsGroupID
       {
           get
           {
               return goodsGroupID;
           }
           set
           {
               goodsGroupID=value;
           }
       }

       public int ProducerID
       {
           get
           {
               return producerID;
           }
           set
           {
               producerID = value;
           }
       }

       public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

       public string NameReg
       {
           get
           {
               return nameReg;
           }
           set
           {
               nameReg = value;
           }
       }

       public string Form
       {
           get
           {
               return form;
           }
           set
           {
               form = value;
           }
       }

       public string FormReg
       {
           get
           {
               return formReg;
           }
           set
           {
               formReg = value;
           }
       } 
                    
       public Bitmap Image
        {
            set
            {
                image = value;
            }
            get
            {
                return image;
            }
        }

       public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }

       public int UserId
        {
            get
            {
                return userID;
            }
            set
            {
                userID = value;
            }
        }
    }
}
